home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / dev / lang / amigaedocs.lha / ModulesText / libraries / gadtools.txt < prev    next >
Text File  |  1992-09-02  |  3KB  |  138 lines

  1. ShowModule v0.1 (c) 1992 $#%!
  2. now showing: "emodules:libraries/gadtools.m"
  3. NOTE: don't use this output in your code, use the module instead.
  4.  
  5. CONST GENERIC_KIND=0,
  6.       BUTTON_KIND=1,
  7.       CHECKBOX_KIND=2,
  8.       INTEGER_KIND=3,
  9.       LISTVIEW_KIND=4,
  10.       MX_KIND=5,
  11.       NUMBER_KIND=6,
  12.       CYCLE_KIND=7,
  13.       PALETTE_KIND=8,
  14.       SCROLLER_KIND=9,
  15.       SLIDER_KIND=11,
  16.       STRING_KIND=12,
  17.       TEXT_KIND=13,
  18.       NUM_KINDS=14,
  19.       GADTOOLBIT=$8000,
  20.       GADTOOLMASK=$FFFF7FFF,
  21.       ARROWIDCMP=$400068,
  22.       BUTTONIDCMP=$40,
  23.       CHECKBOXIDCMP=$40,
  24.       INTEGERIDCMP=$40,
  25.       LISTVIEWIDCMP=$400078,
  26.       MXIDCMP=$20,
  27.       NUMBERIDCMP=0,
  28.       CYCLEIDCMP=$40,
  29.       PALETTEIDCMP=$40,
  30.       SCROLLERIDCMP=$70,
  31.       SLIDERIDCMP=$70,
  32.       STRINGIDCMP=$40,
  33.       TEXTIDCMP=0,
  34.       INTERWIDTH=8,
  35.       INTERHEIGHT=4
  36.  
  37. (---) OBJECT newgadget
  38. (  0)   leftedge:INT
  39. (  2)   topedge:INT
  40. (  4)   width:INT
  41. (  6)   height:INT
  42. (  8)   gadgettext:LONG
  43. ( 12)   textattr:LONG
  44. ( 16)   gadgetid:INT
  45. ( 18)   flags:LONG
  46. ( 22)   visualinfo:LONG
  47. ( 26)   userdata:LONG
  48. (---) ENDOBJECT     /* SIZEOF=30 */
  49.  
  50. CONST PLACETEXT_LEFT=1,
  51.       PLACETEXT_RIGHT=2,
  52.       PLACETEXT_ABOVE=4,
  53.       PLACETEXT_BELOW=8,
  54.       PLACETEXT_IN=16,
  55.       NG_HIGHLABEL=$20
  56.  
  57. (---) OBJECT newmenu
  58. (  0)   type:CHAR
  59. (  1)   pad:CHAR
  60. (  2)   label:LONG
  61. (  6)   commkey:LONG
  62. ( 10)   flags:INT
  63. ( 12)   mutualexclude:LONG
  64. ( 16)   userdata:LONG
  65. (---) ENDOBJECT     /* SIZEOF=20 */
  66.  
  67. CONST NM_TITLE=1,
  68.       NM_ITEM=2,
  69.       NM_SUB=3,
  70.       NM_END=0,
  71.       MENU_IMAGE=$80,
  72.       IM_ITEM=$82,
  73.       IM_SUB=$83,
  74.       NM_BARLABEL=-1,
  75.       NM_MENUDISABLED=1,
  76.       NM_ITEMDISABLED=16,
  77.       NM_FLAGMASK=$FFFFFF39,
  78.       GTMENU_TRIMMED=1,
  79.       GTMENU_INVALID=2,
  80.       GTMENU_NOMEM=3,
  81.       GT_TAGBASE=$80080000,
  82.       GTVI_NEWWINDOW=$80080001,
  83.       GTVI_NWTAGS=$80080002,
  84.       GT_PRIVATE0=$80080003,
  85.       GTCB_CHECKED=$80080004,
  86.       GTLV_TOP=$80080005,
  87.       GTLV_LABELS=$80080006,
  88.       GTLV_READONLY=$80080007,
  89.       GTLV_SCROLLWIDTH=$80080008,
  90.       GTMX_LABELS=$80080009,
  91.       GTMX_ACTIVE=$8008000A,
  92.       GTTX_TEXT=$8008000B,
  93.       GTTX_COPYTEXT=$8008000C,
  94.       GTNM_NUMBER=$8008000D,
  95.       GTCY_LABELS=$8008000E,
  96.       GTCY_ACTIVE=$8008000F,
  97.       GTPA_DEPTH=$80080010,
  98.       GTPA_COLOR=$80080011,
  99.       GTPA_COLOROFFSET=$80080012,
  100.       GTPA_INDICATORWIDTH=$80080013,
  101.       GTPA_INDICATORHEIGHT=$80080014,
  102.       GTSC_TOP=$80080015,
  103.       GTSC_TOTAL=$80080016,
  104.       GTSC_VISIBLE=$80080017,
  105.       GTSC_OVERLAP=$80080018,
  106.       GTSL_MIN=$80080026,
  107.       GTSL_MAX=$80080027,
  108.       GTSL_LEVEL=$80080028,
  109.       GTSL_MAXLEVELLEN=$80080029,
  110.       GTSL_LEVELFORMAT=$8008002A,
  111.       GTSL_LEVELPLACE=$8008002B,
  112.       GTSL_DISPFUNC=$8008002C,
  113.       GTST_STRING=$8008002D,
  114.       GTST_MAXCHARS=$8008002E,
  115.       GTIN_NUMBER=$8008002F,
  116.       GTIN_MAXCHARS=$80080030,
  117.       GTMN_TEXTATTR=$80080031,
  118.       GTMN_FRONTPEN=$80080032,
  119.       GTBB_RECESSED=$80080033,
  120.       GT_VISUALINFO=$80080034,
  121.       GTLV_SHOWSELECTED=$80080035,
  122.       GTLV_SELECTED=$80080036,
  123.       GT_RESERVED0=$80080037,
  124.       GT_RESERVED1=$80080038,
  125.       GTTX_BORDER=$80080039,
  126.       GTNM_BORDER=$8008003A,
  127.       GTSC_ARROWS=$8008003B,
  128.       GTMN_MENU=$8008003C,
  129.       GTMX_SPACING=$8008003D,
  130.       GTMN_FULLMENU=$8008003E,
  131.       GTMN_SECONDARYERROR=$8008003F,
  132.       GT_UNDERSCORE=$80080040,
  133.       NWAY_KIND=7,
  134.       NWAYIDCMP=$40,
  135.       GTNW_LABELS=$8008000E,
  136.       GTNW_ACTIVE=$8008000F
  137.  
  138.